#ifndef PROGRAM_DATASTRUCT_STACK_H_
#define PROGRAM_DATASTRUCT_STACK_H_

namespace stackex{

#define INIT_STACK_SIZE 5

class Stack
{
public:
    Stack();
    ~Stack();
public:
    void StackPush(int data);
    int StackPop(int &data);
    int StackTop(int &data);
    int StackSize();
private:
    int* m_pData;
    int m_size;
    int m_cap;
};

}
#endif // PROGRAM_DATASTRUCT_STACK_H_
